package com.example.whatrubbish.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class LoginRecord implements Serializable {
    private Long loginId;

    private Long loginAdminId;

    private String loginIp;

    private String loginCountry;

    private String loginRegion;

    private String loginCity;

    private String loginIsp;

    private Date loginTime;

    public LoginRecord(Long loginId, Long loginAdminId, String loginIp, String loginCountry, String loginRegion, String loginCity, String loginIsp, Date loginTime) {
        this.loginId = loginId;
        this.loginAdminId = loginAdminId;
        this.loginIp = loginIp;
        this.loginCountry = loginCountry;
        this.loginRegion = loginRegion;
        this.loginCity = loginCity;
        this.loginIsp = loginIsp;
        this.loginTime = loginTime;
    }

    public LoginRecord() {
        super();
    }

}